<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>CCNode Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.2 (build 963)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">Cocos2D </a></h1>
				<a id="developerHome" href="../index.html">3.2.0</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode">CCNode Class Reference</h1>
			</div>
			<ul id="headerButtons" role="toolbar">
				<li id="toc_button">
					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
				</li>
				<li id="jumpto_button" role="navigation">
					<select id="jumpTo">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	
	
	
	
	<option value="tasks">Tasks</option>
	
	
	
	
	
	<option value="properties">Properties</option>
	
	<option value="//api/name/anchorPoint">&nbsp;&nbsp;&nbsp;&nbsp;anchorPoint</option>
	
	<option value="//api/name/anchorPointInPoints">&nbsp;&nbsp;&nbsp;&nbsp;anchorPointInPoints</option>
	
	<option value="//api/name/animationManager">&nbsp;&nbsp;&nbsp;&nbsp;animationManager</option>
	
	<option value="//api/name/cascadeColorEnabled">&nbsp;&nbsp;&nbsp;&nbsp;cascadeColorEnabled</option>
	
	<option value="//api/name/cascadeOpacityEnabled">&nbsp;&nbsp;&nbsp;&nbsp;cascadeOpacityEnabled</option>
	
	<option value="//api/name/children">&nbsp;&nbsp;&nbsp;&nbsp;children</option>
	
	<option value="//api/name/color">&nbsp;&nbsp;&nbsp;&nbsp;color</option>
	
	<option value="//api/name/colorRGBA">&nbsp;&nbsp;&nbsp;&nbsp;colorRGBA</option>
	
	<option value="//api/name/contentSize">&nbsp;&nbsp;&nbsp;&nbsp;contentSize</option>
	
	<option value="//api/name/contentSizeInPoints">&nbsp;&nbsp;&nbsp;&nbsp;contentSizeInPoints</option>
	
	<option value="//api/name/contentSizeType">&nbsp;&nbsp;&nbsp;&nbsp;contentSizeType</option>
	
	<option value="//api/name/displayedColor">&nbsp;&nbsp;&nbsp;&nbsp;displayedColor</option>
	
	<option value="//api/name/displayedOpacity">&nbsp;&nbsp;&nbsp;&nbsp;displayedOpacity</option>
	
	<option value="//api/name/name">&nbsp;&nbsp;&nbsp;&nbsp;name</option>
	
	<option value="//api/name/opacity">&nbsp;&nbsp;&nbsp;&nbsp;opacity</option>
	
	<option value="//api/name/parent">&nbsp;&nbsp;&nbsp;&nbsp;parent</option>
	
	<option value="//api/name/paused">&nbsp;&nbsp;&nbsp;&nbsp;paused</option>
	
	<option value="//api/name/physicsBody">&nbsp;&nbsp;&nbsp;&nbsp;physicsBody</option>
	
	<option value="//api/name/position">&nbsp;&nbsp;&nbsp;&nbsp;position</option>
	
	<option value="//api/name/positionInPoints">&nbsp;&nbsp;&nbsp;&nbsp;positionInPoints</option>
	
	<option value="//api/name/positionType">&nbsp;&nbsp;&nbsp;&nbsp;positionType</option>
	
	<option value="//api/name/rotation">&nbsp;&nbsp;&nbsp;&nbsp;rotation</option>
	
	<option value="//api/name/rotationalSkewX">&nbsp;&nbsp;&nbsp;&nbsp;rotationalSkewX</option>
	
	<option value="//api/name/rotationalSkewY">&nbsp;&nbsp;&nbsp;&nbsp;rotationalSkewY</option>
	
	<option value="//api/name/runningInActiveScene">&nbsp;&nbsp;&nbsp;&nbsp;runningInActiveScene</option>
	
	<option value="//api/name/scale">&nbsp;&nbsp;&nbsp;&nbsp;scale</option>
	
	<option value="//api/name/scaleInPoints">&nbsp;&nbsp;&nbsp;&nbsp;scaleInPoints</option>
	
	<option value="//api/name/scaleType">&nbsp;&nbsp;&nbsp;&nbsp;scaleType</option>
	
	<option value="//api/name/scaleX">&nbsp;&nbsp;&nbsp;&nbsp;scaleX</option>
	
	<option value="//api/name/scaleXInPoints">&nbsp;&nbsp;&nbsp;&nbsp;scaleXInPoints</option>
	
	<option value="//api/name/scaleY">&nbsp;&nbsp;&nbsp;&nbsp;scaleY</option>
	
	<option value="//api/name/scaleYInPoints">&nbsp;&nbsp;&nbsp;&nbsp;scaleYInPoints</option>
	
	<option value="//api/name/scene">&nbsp;&nbsp;&nbsp;&nbsp;scene</option>
	
	<option value="//api/name/skewX">&nbsp;&nbsp;&nbsp;&nbsp;skewX</option>
	
	<option value="//api/name/skewY">&nbsp;&nbsp;&nbsp;&nbsp;skewY</option>
	
	<option value="//api/name/userObject">&nbsp;&nbsp;&nbsp;&nbsp;userObject</option>
	
	<option value="//api/name/visible">&nbsp;&nbsp;&nbsp;&nbsp;visible</option>
	
	<option value="//api/name/zOrder">&nbsp;&nbsp;&nbsp;&nbsp;zOrder</option>
	
	
	
	
	<option value="class_methods">Class Methods</option>
	
	<option value="//api/name/node">&nbsp;&nbsp;&nbsp;&nbsp;+ node</option>
	
	
	
	
	<option value="instance_methods">Instance Methods</option>
	
	<option value="//api/name/addChild:">&nbsp;&nbsp;&nbsp;&nbsp;- addChild:</option>
	
	<option value="//api/name/addChild:z:">&nbsp;&nbsp;&nbsp;&nbsp;- addChild:z:</option>
	
	<option value="//api/name/addChild:z:name:">&nbsp;&nbsp;&nbsp;&nbsp;- addChild:z:name:</option>
	
	<option value="//api/name/boundingBox">&nbsp;&nbsp;&nbsp;&nbsp;- boundingBox</option>
	
	<option value="//api/name/convertToNodeSpace:">&nbsp;&nbsp;&nbsp;&nbsp;- convertToNodeSpace:</option>
	
	<option value="//api/name/convertToNodeSpaceAR:">&nbsp;&nbsp;&nbsp;&nbsp;- convertToNodeSpaceAR:</option>
	
	<option value="//api/name/convertToWorldSpace:">&nbsp;&nbsp;&nbsp;&nbsp;- convertToWorldSpace:</option>
	
	<option value="//api/name/convertToWorldSpaceAR:">&nbsp;&nbsp;&nbsp;&nbsp;- convertToWorldSpaceAR:</option>
	
	<option value="//api/name/doesOpacityModifyRGB">&nbsp;&nbsp;&nbsp;&nbsp;- doesOpacityModifyRGB</option>
	
	<option value="//api/name/draw:transform:">&nbsp;&nbsp;&nbsp;&nbsp;- draw:transform:</option>
	
	<option value="//api/name/getActionByTag:">&nbsp;&nbsp;&nbsp;&nbsp;- getActionByTag:</option>
	
	<option value="//api/name/getChildByName:recursively:">&nbsp;&nbsp;&nbsp;&nbsp;- getChildByName:recursively:</option>
	
	<option value="//api/name/init">&nbsp;&nbsp;&nbsp;&nbsp;- init</option>
	
	<option value="//api/name/nodeToParentTransform">&nbsp;&nbsp;&nbsp;&nbsp;- nodeToParentTransform</option>
	
	<option value="//api/name/nodeToWorldTransform">&nbsp;&nbsp;&nbsp;&nbsp;- nodeToWorldTransform</option>
	
	<option value="//api/name/numberOfRunningActions">&nbsp;&nbsp;&nbsp;&nbsp;- numberOfRunningActions</option>
	
	<option value="//api/name/onEnter">&nbsp;&nbsp;&nbsp;&nbsp;- onEnter</option>
	
	<option value="//api/name/onEnterTransitionDidFinish">&nbsp;&nbsp;&nbsp;&nbsp;- onEnterTransitionDidFinish</option>
	
	<option value="//api/name/onExit">&nbsp;&nbsp;&nbsp;&nbsp;- onExit</option>
	
	<option value="//api/name/onExitTransitionDidStart">&nbsp;&nbsp;&nbsp;&nbsp;- onExitTransitionDidStart</option>
	
	<option value="//api/name/parentToNodeTransform">&nbsp;&nbsp;&nbsp;&nbsp;- parentToNodeTransform</option>
	
	<option value="//api/name/physicsNode">&nbsp;&nbsp;&nbsp;&nbsp;- physicsNode</option>
	
	<option value="//api/name/removeAllChildren">&nbsp;&nbsp;&nbsp;&nbsp;- removeAllChildren</option>
	
	<option value="//api/name/removeAllChildrenWithCleanup:">&nbsp;&nbsp;&nbsp;&nbsp;- removeAllChildrenWithCleanup:</option>
	
	<option value="//api/name/removeChild:">&nbsp;&nbsp;&nbsp;&nbsp;- removeChild:</option>
	
	<option value="//api/name/removeChild:cleanup:">&nbsp;&nbsp;&nbsp;&nbsp;- removeChild:cleanup:</option>
	
	<option value="//api/name/removeChildByName:">&nbsp;&nbsp;&nbsp;&nbsp;- removeChildByName:</option>
	
	<option value="//api/name/removeChildByName:cleanup:">&nbsp;&nbsp;&nbsp;&nbsp;- removeChildByName:cleanup:</option>
	
	<option value="//api/name/removeFromParent">&nbsp;&nbsp;&nbsp;&nbsp;- removeFromParent</option>
	
	<option value="//api/name/removeFromParentAndCleanup:">&nbsp;&nbsp;&nbsp;&nbsp;- removeFromParentAndCleanup:</option>
	
	<option value="//api/name/runAction:">&nbsp;&nbsp;&nbsp;&nbsp;- runAction:</option>
	
	<option value="//api/name/schedule:interval:">&nbsp;&nbsp;&nbsp;&nbsp;- schedule:interval:</option>
	
	<option value="//api/name/schedule:interval:repeat:delay:">&nbsp;&nbsp;&nbsp;&nbsp;- schedule:interval:repeat:delay:</option>
	
	<option value="//api/name/scheduleBlock:delay:">&nbsp;&nbsp;&nbsp;&nbsp;- scheduleBlock:delay:</option>
	
	<option value="//api/name/scheduleOnce:delay:">&nbsp;&nbsp;&nbsp;&nbsp;- scheduleOnce:delay:</option>
	
	<option value="//api/name/setOpacityModifyRGB:">&nbsp;&nbsp;&nbsp;&nbsp;- setOpacityModifyRGB:</option>
	
	<option value="//api/name/stopAction:">&nbsp;&nbsp;&nbsp;&nbsp;- stopAction:</option>
	
	<option value="//api/name/stopActionByTag:">&nbsp;&nbsp;&nbsp;&nbsp;- stopActionByTag:</option>
	
	<option value="//api/name/stopAllActions">&nbsp;&nbsp;&nbsp;&nbsp;- stopAllActions</option>
	
	<option value="//api/name/transform:">&nbsp;&nbsp;&nbsp;&nbsp;- transform:</option>
	
	<option value="//api/name/unschedule:">&nbsp;&nbsp;&nbsp;&nbsp;- unschedule:</option>
	
	<option value="//api/name/unscheduleAllSelectors">&nbsp;&nbsp;&nbsp;&nbsp;- unscheduleAllSelectors</option>
	
	<option value="//api/name/updateDisplayedColor:">&nbsp;&nbsp;&nbsp;&nbsp;- updateDisplayedColor:</option>
	
	<option value="//api/name/updateDisplayedOpacity:">&nbsp;&nbsp;&nbsp;&nbsp;- updateDisplayedOpacity:</option>
	
	<option value="//api/name/viewDidResizeTo:">&nbsp;&nbsp;&nbsp;&nbsp;- viewDidResizeTo:</option>
	
	<option value="//api/name/visit">&nbsp;&nbsp;&nbsp;&nbsp;- visit</option>
	
	<option value="//api/name/visit:parentTransform:">&nbsp;&nbsp;&nbsp;&nbsp;- visit:parentTransform:</option>
	
	<option value="//api/name/walkSceneGraph:">&nbsp;&nbsp;&nbsp;&nbsp;- walkSceneGraph:</option>
	
	<option value="//api/name/worldToNodeTransform">&nbsp;&nbsp;&nbsp;&nbsp;- worldToNodeTransform</option>
	
	
	
</select>
				</li>
			</ul>
		</header>
		<nav id="tocContainer" class="isShowingTOC">
			<ul id="toc" role="tree">
				
<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>




<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Creating Nodes">Creating Nodes</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Pausing and Hiding">Pausing and Hiding</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Tagging and Setting User Object">Tagging and Setting User Object</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Position and Size">Position and Size</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Adding, Removing and Sorting Children">Adding, Removing and Sorting Children</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Scene Management">Scene Management</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Physics">Physics</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Actions">Actions</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Scheduling Repeating Callbacks">Scheduling Repeating Callbacks</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Accessing Transformations and Matrices">Accessing Transformations and Matrices</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Rendering (Used by Subclasses)">Rendering (Used by Subclasses)</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_Debug Methods">Debug Methods</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_NoARC Methods">NoARC Methods</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#task_CCPhysics Methods">CCPhysics Methods</a></span></li>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/anchorPoint">anchorPoint</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/anchorPointInPoints">anchorPointInPoints</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/animationManager">animationManager</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/cascadeColorEnabled">cascadeColorEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/cascadeOpacityEnabled">cascadeOpacityEnabled</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/children">children</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/color">color</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/colorRGBA">colorRGBA</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/contentSize">contentSize</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/contentSizeInPoints">contentSizeInPoints</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/contentSizeType">contentSizeType</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/displayedColor">displayedColor</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/displayedOpacity">displayedOpacity</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/name">name</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/opacity">opacity</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/parent">parent</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/paused">paused</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/physicsBody">physicsBody</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/position">position</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/positionInPoints">positionInPoints</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/positionType">positionType</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rotation">rotation</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rotationalSkewX">rotationalSkewX</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/rotationalSkewY">rotationalSkewY</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/runningInActiveScene">runningInActiveScene</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scale">scale</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scaleInPoints">scaleInPoints</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scaleType">scaleType</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scaleX">scaleX</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scaleXInPoints">scaleXInPoints</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scaleY">scaleY</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scaleYInPoints">scaleYInPoints</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scene">scene</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/skewX">skewX</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/skewY">skewY</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/userObject">userObject</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/visible">visible</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/zOrder">zOrder</a></span></li>
	
</ul></li>



<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/node">node</a></span></li>
	
</ul></li>



<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addChild:">addChild:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addChild:z:">addChild:z:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/addChild:z:name:">addChild:z:name:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/boundingBox">boundingBox</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertToNodeSpace:">convertToNodeSpace:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertToNodeSpaceAR:">convertToNodeSpaceAR:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertToWorldSpace:">convertToWorldSpace:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/convertToWorldSpaceAR:">convertToWorldSpaceAR:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/doesOpacityModifyRGB">doesOpacityModifyRGB</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/draw:transform:">draw:transform:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getActionByTag:">getActionByTag:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getChildByName:recursively:">getChildByName:recursively:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/init">init</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nodeToParentTransform">nodeToParentTransform</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nodeToWorldTransform">nodeToWorldTransform</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/numberOfRunningActions">numberOfRunningActions</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/onEnter">onEnter</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/onEnterTransitionDidFinish">onEnterTransitionDidFinish</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/onExit">onExit</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/onExitTransitionDidStart">onExitTransitionDidStart</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/parentToNodeTransform">parentToNodeTransform</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/physicsNode">physicsNode</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeAllChildren">removeAllChildren</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeAllChildrenWithCleanup:">removeAllChildrenWithCleanup:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeChild:">removeChild:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeChild:cleanup:">removeChild:cleanup:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeChildByName:">removeChildByName:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeChildByName:cleanup:">removeChildByName:cleanup:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeFromParent">removeFromParent</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/removeFromParentAndCleanup:">removeFromParentAndCleanup:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/runAction:">runAction:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/schedule:interval:">schedule:interval:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/schedule:interval:repeat:delay:">schedule:interval:repeat:delay:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scheduleBlock:delay:">scheduleBlock:delay:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/scheduleOnce:delay:">scheduleOnce:delay:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setOpacityModifyRGB:">setOpacityModifyRGB:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopAction:">stopAction:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopActionByTag:">stopActionByTag:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/stopAllActions">stopAllActions</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/transform:">transform:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/unschedule:">unschedule:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/unscheduleAllSelectors">unscheduleAllSelectors</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/updateDisplayedColor:">updateDisplayedColor:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/updateDisplayedOpacity:">updateDisplayedOpacity:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/viewDidResizeTo:">viewDidResizeTo:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/visit">visit</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/visit:parentTransform:">visit:parentTransform:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/walkSceneGraph:">walkSceneGraph:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/worldToNodeTransform">worldToNodeTransform</a></span></li>
	
</ul></li>


			</ul>
		</nav>
		<article>
			<div id="contents" class="isShowingTOC" role="main">
				<a title="CCNode Class Reference" name="top"></a>
				<div class="main-navigation navigation-top">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="header">
					<div class="section-header">
						<h1 class="title title-header">CCNode Class Reference</h1>
					</div>		
				</div>
				<div id="container">	
					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<td class="specification-title">Inherits from</td>
	<td class="specification-value"><a href="../Classes/CCResponder.html">CCResponder</a> : NSObject</td>
</tr><tr>
	<td class="specification-title">Conforms to</td>
	<td class="specification-value">CCSchedulerTarget</td>
</tr><tr>
	<td class="specification-title">Declared in</td>
	<td class="specification-value">CCNode.h</td>
</tr>
						</tbody></table></div>
					
                    
                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>CCNode is the base class for all objects displayed by Cocos2d. The nodes are hierachically organized in a tree, normally with a <a href="../Classes/CCScene.html">CCScene</a> as its root <a href="#//api/name/node">node</a>. Example of CCNode:s are <a href="../Classes/CCSprite.html">CCSprite</a>, <a href="../Classes/CCScene.html">CCScene</a> and <a href="../Classes/CCButton.html">CCButton</a>. The CCNode handles transformations, can have a content size and provides a coordinate system to its <a href="#//api/name/children">children</a>. Any CCNode or subclass can handle user interaction, such as touches and mouse events, see the <a href="../Classes/CCResponder.html">CCResponder</a> for more information on this.</p>

<h3>Coordinate System and Positioning</h3>

<p>Coordinates in the CCNode coordinate system are by default set in points by the <a href="#//api/name/position">position</a> property. The point measurement provides a way to handle different screen densities. For instance, on a retina display one point corresponds to two pixels, but on non-retina devices one point corresponds directly to one pixel.</p>

<p>By using the <a href="#//api/name/positionType">positionType</a> property you can specify how a node&rsquo;s <a href="#//api/name/position">position</a> is interpreted. For instance, if you set the type to CCPositionTypeNormalized a <a href="#//api/name/position">position</a> value of (0.5, 0.5) will place the <a href="#//api/name/node">node</a> in the center of its parent&rsquo;s container. The container is specified by the parent&rsquo;s <a href="#//api/name/contentSize">contentSize</a>. It&rsquo;s also possible to set positions relative to the different corners of the parent&rsquo;s container. The CCPositionType has three components, xUnit, yUnit and corner. The corner can be any reference corner of the parent&rsquo;s container and the xUnit and yUnit can be any of the following:</p>

<ul>
<li>CCPositionUnitPoints - This is the default, the <a href="#//api/name/position">position</a> value will be in points.</li>
<li>CCPositionUnitScaled - The <a href="#//api/name/position">position</a> is scaled by the UIScaleFactor as defined by <a href="../Classes/CCDirector.html">CCDirector</a>. This is very useful for scaling up game play without changing the game logic. E.g. if you want to support both phones and tablets in native resolutions.</li>
<li>CCPositionUnitNormalized - Using the normalized type allows you to <a href="#//api/name/position">position</a> object in relative to the parents container. E.g. it can be used to center nodes on the screen regardless of the device type your game is running on.</li>
</ul>


<p>Similarily to how you set a node&rsquo;s <a href="#//api/name/position">position</a> and <a href="#//api/name/positionType">positionType</a> you can also set it&rsquo;s <a href="#//api/name/contentSize">contentSize</a> and <a href="#//api/name/contentSizeType">contentSizeType</a>. However, some classes doesn&rsquo;t allow you to set these directly. For instance, the <a href="../Classes/CCSprite.html">CCSprite</a> sets its <a href="#//api/name/contentSize">contentSize</a> depending on the size of its texture and for descendants of <a href="../Classes/CCControl.html">CCControl</a> you should set the preferredSize and preferredSizeType rather than changing their <a href="#//api/name/contentSize">contentSize</a> directly. The CCSizeType has two components widthUnit and heightUnit which can be any of the following:</p>

<ul>
<li>CCSizeUnitPoints - This is the default, the size will be in points</li>
<li>CCSizeUnitScaled - The size is scaled by the UIScaleFactor.</li>
<li>CCSizeUnitNormalized - The content size will be set as a normalized value of the parent&rsquo;s container.</li>
<li>CCSizeUnitInset - The content size will be the size of it&rsquo;s <a href="#//api/name/parent">parent</a> container, but inset by a number of points.</li>
<li>CCSizeUnitInsetScaled - The content size will be the size of it&rsquo;s <a href="#//api/name/parent">parent</a> container, but inset by a number of points multiplied by the UIScaleFactor.</li>
</ul>


<p>Even if the positions and content sizes are not set in points you can use actions to animate the nodes. See the examples and tests for more information on how to set positions and content sizes, or use SpriteBuilder to easily play around with the settings. There are also more positioning options available by using <a href="../Classes/CCLayout.html">CCLayout</a> and <a href="../Classes/CCLayoutBox.html">CCLayoutBox</a>.</p>

<h3>Subclassing Notes</h3>

<p>A common user pattern in building a Cocos2d game is to subclass CCNode, add it to a <a href="../Classes/CCScene.html">CCScene</a> and override the methods for handling user input.</p>

<p>Debugging extensions of CCNode.  They are available when the DEBUG macro is defined at compile time.</p>
					</div>
					
					
					
					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						<h2 class="subtitle subtitle-tasks">Tasks</h2>
						
						
						<a title="Creating Nodes" name="task_Creating Nodes"></a>
						<h3 class="subsubtitle task-title">Creating Nodes</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/node">+&nbsp;node</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/init">&ndash;&nbsp;init</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Pausing and Hiding" name="task_Pausing and Hiding"></a>
						<h3 class="subsubtitle task-title">Pausing and Hiding</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/paused">&nbsp;&nbsp;paused</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/visible">&nbsp;&nbsp;visible</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						<a title="Tagging and Setting User Object" name="task_Tagging and Setting User Object"></a>
						<h3 class="subsubtitle task-title">Tagging and Setting User Object</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/name">&nbsp;&nbsp;name</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/userObject">&nbsp;&nbsp;userObject</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						<a title="Position and Size" name="task_Position and Size"></a>
						<h3 class="subsubtitle task-title">Position and Size</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/position">&nbsp;&nbsp;position</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/positionInPoints">&nbsp;&nbsp;positionInPoints</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/positionType">&nbsp;&nbsp;positionType</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/rotation">&nbsp;&nbsp;rotation</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/rotationalSkewX">&nbsp;&nbsp;rotationalSkewX</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/rotationalSkewY">&nbsp;&nbsp;rotationalSkewY</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scale">&nbsp;&nbsp;scale</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scaleX">&nbsp;&nbsp;scaleX</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scaleY">&nbsp;&nbsp;scaleY</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scaleInPoints">&nbsp;&nbsp;scaleInPoints</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scaleXInPoints">&nbsp;&nbsp;scaleXInPoints</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scaleYInPoints">&nbsp;&nbsp;scaleYInPoints</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scaleType">&nbsp;&nbsp;scaleType</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/skewX">&nbsp;&nbsp;skewX</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/skewY">&nbsp;&nbsp;skewY</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/contentSize">&nbsp;&nbsp;contentSize</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/contentSizeInPoints">&nbsp;&nbsp;contentSizeInPoints</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/contentSizeType">&nbsp;&nbsp;contentSizeType</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/anchorPoint">&nbsp;&nbsp;anchorPoint</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/anchorPointInPoints">&nbsp;&nbsp;anchorPointInPoints</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/viewDidResizeTo:">&ndash;&nbsp;viewDidResizeTo:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/boundingBox">&ndash;&nbsp;boundingBox</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Adding, Removing and Sorting Children" name="task_Adding, Removing and Sorting Children"></a>
						<h3 class="subsubtitle task-title">Adding, Removing and Sorting Children</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/addChild:">&ndash;&nbsp;addChild:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/addChild:z:">&ndash;&nbsp;addChild:z:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/addChild:z:name:">&ndash;&nbsp;addChild:z:name:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeFromParent">&ndash;&nbsp;removeFromParent</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeFromParentAndCleanup:">&ndash;&nbsp;removeFromParentAndCleanup:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeChild:">&ndash;&nbsp;removeChild:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeChild:cleanup:">&ndash;&nbsp;removeChild:cleanup:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeChildByName:">&ndash;&nbsp;removeChildByName:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeChildByName:cleanup:">&ndash;&nbsp;removeChildByName:cleanup:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeAllChildren">&ndash;&nbsp;removeAllChildren</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/removeAllChildrenWithCleanup:">&ndash;&nbsp;removeAllChildrenWithCleanup:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/parent">&nbsp;&nbsp;parent</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/children">&nbsp;&nbsp;children</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getChildByName:recursively:">&ndash;&nbsp;getChildByName:recursively:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/zOrder">&nbsp;&nbsp;zOrder</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						<a title="Scene Management" name="task_Scene Management"></a>
						<h3 class="subsubtitle task-title">Scene Management</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/onEnter">&ndash;&nbsp;onEnter</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/onEnterTransitionDidFinish">&ndash;&nbsp;onEnterTransitionDidFinish</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/onExit">&ndash;&nbsp;onExit</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/onExitTransitionDidStart">&ndash;&nbsp;onExitTransitionDidStart</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scene">&nbsp;&nbsp;scene</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/runningInActiveScene">&nbsp;&nbsp;runningInActiveScene</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						<a title="Physics" name="task_Physics"></a>
						<h3 class="subsubtitle task-title">Physics</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/physicsBody">&nbsp;&nbsp;physicsBody</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						<a title="Actions" name="task_Actions"></a>
						<h3 class="subsubtitle task-title">Actions</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/runAction:">&ndash;&nbsp;runAction:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/stopAllActions">&ndash;&nbsp;stopAllActions</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/stopAction:">&ndash;&nbsp;stopAction:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/stopActionByTag:">&ndash;&nbsp;stopActionByTag:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getActionByTag:">&ndash;&nbsp;getActionByTag:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/numberOfRunningActions">&ndash;&nbsp;numberOfRunningActions</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Scheduling Repeating Callbacks" name="task_Scheduling Repeating Callbacks"></a>
						<h3 class="subsubtitle task-title">Scheduling Repeating Callbacks</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/scheduleBlock:delay:">&ndash;&nbsp;scheduleBlock:delay:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/schedule:interval:">&ndash;&nbsp;schedule:interval:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/schedule:interval:repeat:delay:">&ndash;&nbsp;schedule:interval:repeat:delay:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/scheduleOnce:delay:">&ndash;&nbsp;scheduleOnce:delay:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/unschedule:">&ndash;&nbsp;unschedule:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/unscheduleAllSelectors">&ndash;&nbsp;unscheduleAllSelectors</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/animationManager">&nbsp;&nbsp;animationManager</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
						
						<a title="Accessing Transformations and Matrices" name="task_Accessing Transformations and Matrices"></a>
						<h3 class="subsubtitle task-title">Accessing Transformations and Matrices</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/nodeToParentTransform">&ndash;&nbsp;nodeToParentTransform</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/parentToNodeTransform">&ndash;&nbsp;parentToNodeTransform</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/nodeToWorldTransform">&ndash;&nbsp;nodeToWorldTransform</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/worldToNodeTransform">&ndash;&nbsp;worldToNodeTransform</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertToNodeSpace:">&ndash;&nbsp;convertToNodeSpace:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertToWorldSpace:">&ndash;&nbsp;convertToWorldSpace:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertToNodeSpaceAR:">&ndash;&nbsp;convertToNodeSpaceAR:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/convertToWorldSpaceAR:">&ndash;&nbsp;convertToWorldSpaceAR:</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Rendering (Used by Subclasses)" name="task_Rendering (Used by Subclasses)"></a>
						<h3 class="subsubtitle task-title">Rendering (Used by Subclasses)</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/draw:transform:">&ndash;&nbsp;draw:transform:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/visit">&ndash;&nbsp;visit</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/color">&nbsp;&nbsp;color</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/colorRGBA">&nbsp;&nbsp;colorRGBA</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/displayedColor">&nbsp;&nbsp;displayedColor</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/cascadeColorEnabled">&nbsp;&nbsp;cascadeColorEnabled</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/updateDisplayedColor:">&ndash;&nbsp;updateDisplayedColor:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/opacity">&nbsp;&nbsp;opacity</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/displayedOpacity">&nbsp;&nbsp;displayedOpacity</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/cascadeOpacityEnabled">&nbsp;&nbsp;cascadeOpacityEnabled</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/updateDisplayedOpacity:">&ndash;&nbsp;updateDisplayedOpacity:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setOpacityModifyRGB:">&ndash;&nbsp;setOpacityModifyRGB:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/doesOpacityModifyRGB">&ndash;&nbsp;doesOpacityModifyRGB</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="Debug Methods" name="task_Debug Methods"></a>
						<h3 class="subsubtitle task-title">Debug Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/walkSceneGraph:">&ndash;&nbsp;walkSceneGraph:</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="NoARC Methods" name="task_NoARC Methods"></a>
						<h3 class="subsubtitle task-title">NoARC Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/transform:">&ndash;&nbsp;transform:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/visit:parentTransform:">&ndash;&nbsp;visit:parentTransform:</a></code>
	</span>
	
	
</li>
						</ul>
						
						
						<a title="CCPhysics Methods" name="task_CCPhysics Methods"></a>
						<h3 class="subsubtitle task-title">CCPhysics Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/physicsNode">&ndash;&nbsp;physicsNode</a></code>
	</span>
	
	
</li>
						</ul>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Properties" name="properties"></a>
						<h2 class="subtitle subtitle-methods">Properties</h2>
						
						<div class="section-method">
	<a name="//api/name/anchorPoint" title="anchorPoint"></a>
	<h3 class="subsubtitle method-title">anchorPoint</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The anchorPoint is the point around which all transformations and positioning manipulations take place.
It&rsquo;s like a pin in the <a href="#//api/name/node">node</a> where it is &ldquo;attached&rdquo; to its <a href="#//api/name/parent">parent</a>.
The anchorPoint is normalized, like a percentage. (0,0) means the bottom-left corner and (1,1) means the top-right corner.
But you can use values higher than (1,1) and lower than (0,0) too.
The default anchorPoint is (0,0). It starts in the bottom-left corner. <a href="../Classes/CCSprite.html">CCSprite</a> and other subclasses have a different default anchorPoint.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite) CGPoint anchorPoint</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/anchorPointInPoints" title="anchorPointInPoints"></a>
	<h3 class="subsubtitle method-title">anchorPointInPoints</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/anchorPoint">anchorPoint</a> in absolute pixels.  Since v0.8 you can only read it. If you wish to modify it, use <a href="#//api/name/anchorPoint">anchorPoint</a> instead.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) CGPoint anchorPointInPoints</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/animationManager" title="animationManager"></a>
	<h3 class="subsubtitle method-title">animationManager</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the CCB Animation Manager of this <a href="#//api/name/node">node</a>, or that of its <a href="#//api/name/parent">parent</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) CCAnimationManager *animationManager</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/cascadeColorEnabled" title="cascadeColorEnabled"></a>
	<h3 class="subsubtitle method-title">cascadeColorEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>CascadeColorEnabled causes changes to this node&rsquo;s <a href="#//api/name/color">color</a> to cascade down to it&rsquo;s <a href="#//api/name/children">children</a>. The new <a href="#//api/name/color">color</a> is multiplied
in with the <a href="#//api/name/color">color</a> of each child, so it doesn&rsquo;t bash the current <a href="#//api/name/color">color</a> of those nodes. Opacity is unaffected by this
property, see <a href="#//api/name/cascadeOpacityEnabled">cascadeOpacityEnabled</a> to change the alpha of nodes.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isCascadeColorEnabled) BOOL cascadeColorEnabled</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/cascadeOpacityEnabled" title="cascadeOpacityEnabled"></a>
	<h3 class="subsubtitle method-title">cascadeOpacityEnabled</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>CascadeOpacity causes changes to this node&rsquo;s <a href="#//api/name/opacity">opacity</a> to cascade down to it&rsquo;s <a href="#//api/name/children">children</a>. The new <a href="#//api/name/opacity">opacity</a> is multiplied
in with the <a href="#//api/name/opacity">opacity</a> of each child, so it doesn&rsquo;t bash the current <a href="#//api/name/opacity">opacity</a> of those nodes. Color is unaffected by this
property, see <a href="#//api/name/cascadeColorEnabled">cascadeColorEnabled</a> for <a href="#//api/name/color">color</a> tint changes.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, getter=isCascadeOpacityEnabled) BOOL cascadeOpacityEnabled</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/children" title="children"></a>
	<h3 class="subsubtitle method-title">children</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Array of child nodes.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) NSArray *children</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/color" title="color"></a>
	<h3 class="subsubtitle method-title">color</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Sets and returns the color (tint), alpha is ignored when setting.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) CCColor *color</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/colorRGBA" title="colorRGBA"></a>
	<h3 class="subsubtitle method-title">colorRGBA</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Sets and returns the <a href="#//api/name/color">color</a> (tint) with alpha.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) CCColor *colorRGBA</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/contentSize" title="contentSize"></a>
	<h3 class="subsubtitle method-title">contentSize</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The untransformed size of the <a href="#//api/name/node">node</a> in the unit specified by <a href="#//api/name/contentSizeType">contentSizeType</a> property. The contentSize remains the same no matter the <a href="#//api/name/node">node</a> is scaled or rotated. contentSize is relative to the <a href="#//api/name/node">node</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) CGSize contentSize</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/contentSizeInPoints" title="contentSizeInPoints"></a>
	<h3 class="subsubtitle method-title">contentSizeInPoints</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The untransformed size of the node in Points. The contentSize remains the same no matter the node is scaled or rotated. contentSizeInPoints is affected by the contentSizeType and will be scaled by the <a href="../Classes/CCDirector.html#//api/name/sharedDirector">[CCDirector sharedDirector]</a>.UIScaleFactor if the type is CCSizeUnitUIPoints.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) CGSize contentSizeInPoints</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/contentSizeType" title="contentSizeType"></a>
	<h3 class="subsubtitle method-title">contentSizeType</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Defines the <a href="#//api/name/contentSize">contentSize</a> type used for the widht and height component of the <a href="#//api/name/contentSize">contentSize</a> property.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) CCSizeType contentSizeType</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/displayedColor" title="displayedColor"></a>
	<h3 class="subsubtitle method-title">displayedColor</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the displayed <a href="#//api/name/color">color</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) CCColor *displayedColor</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/displayedOpacity" title="displayedOpacity"></a>
	<h3 class="subsubtitle method-title">displayedOpacity</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the displayed <a href="#//api/name/opacity">opacity</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) CGFloat displayedOpacity</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/name" title="name"></a>
	<h3 class="subsubtitle method-title">name</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>A name tag used to help identify the <a href="#//api/name/node">node</a> easily.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) NSString *name</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/opacity" title="opacity"></a>
	<h3 class="subsubtitle method-title">opacity</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Sets and returns the opacity.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic) CGFloat opacity</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<div class="warning"><p><strong>Warning:</strong> If the the texture has premultiplied alpha then, the R, G and B channels will be modified.
Values goes from 0 to 1, where 1 means fully opaque.</p></div>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/parent" title="parent"></a>
	<h3 class="subsubtitle method-title">parent</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>A weak reference to the parent.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, unsafe_unretained) CCNode *parent</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/paused" title="paused"></a>
	<h3 class="subsubtitle method-title">paused</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>If paused, no callbacks will be called, and no actions will be run.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) BOOL paused</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/physicsBody" title="physicsBody"></a>
	<h3 class="subsubtitle method-title">physicsBody</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The physics body (if any) that this <a href="#//api/name/node">node</a> is attached to.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, strong) CCPhysicsBody *physicsBody</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/position" title="position"></a>
	<h3 class="subsubtitle method-title">position</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Position (x,y) of the <a href="#//api/name/node">node</a> in the unit specified by the <a href="#//api/name/positionType">positionType</a> property. The distance is measured from one of the corners of the node&rsquo;s <a href="#//api/name/parent">parent</a> container, which corner is specified by the <a href="#//api/name/positionType">positionType</a> property. Default setting is referencing the bottom left corner in points.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) CGPoint position</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/positionInPoints" title="positionInPoints"></a>
	<h3 class="subsubtitle method-title">positionInPoints</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Position (x,y) of the <a href="#//api/name/node">node</a> in points from the bottom left corner.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) CGPoint positionInPoints</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/positionType" title="positionType"></a>
	<h3 class="subsubtitle method-title">positionType</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Defines the position type used for the position property. Changing the position type affects the meaning of the position, and allows you to change the referenceCorner, relative to the parent container. It allso allows changing from points to UIPoints. UIPoints are scaled by <a href="../Classes/CCDirector.html#//api/name/sharedDirector">[CCDirector sharedDirector]</a>.UIScaleFactor. See &ldquo;Coordinate System and Positioning&rdquo; for more information.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) CCPositionType positionType</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/rotation" title="rotation"></a>
	<h3 class="subsubtitle method-title">rotation</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The rotation (angle) of the <a href="#//api/name/node">node</a> in degrees. 0 is the default rotation angle. Positive values rotate <a href="#//api/name/node">node</a> CW.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float rotation</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/rotationalSkewX" title="rotationalSkewX"></a>
	<h3 class="subsubtitle method-title">rotationalSkewX</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/rotation">rotation</a> (angle) of the <a href="#//api/name/node">node</a> in degrees. 0 is the default <a href="#//api/name/rotation">rotation</a> angle. Positive values rotate <a href="#//api/name/node">node</a> CW. It only modifies the X <a href="#//api/name/rotation">rotation</a> performing a horizontal rotational skew.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float rotationalSkewX</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/rotationalSkewY" title="rotationalSkewY"></a>
	<h3 class="subsubtitle method-title">rotationalSkewY</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/rotation">rotation</a> (angle) of the <a href="#//api/name/node">node</a> in degrees. 0 is the default <a href="#//api/name/rotation">rotation</a> angle. Positive values rotate <a href="#//api/name/node">node</a> CW. It only modifies the Y <a href="#//api/name/rotation">rotation</a> performing a vertical rotational skew.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float rotationalSkewY</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/runningInActiveScene" title="runningInActiveScene"></a>
	<h3 class="subsubtitle method-title">runningInActiveScene</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns YES if the <a href="#//api/name/node">node</a> is added to an active <a href="#//api/name/scene">scene</a> and neither it nor any of it&rsquo;s ancestors is <a href="#//api/name/paused">paused</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly, getter=isRunningInActiveScene) BOOL runningInActiveScene</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scale" title="scale"></a>
	<h3 class="subsubtitle method-title">scale</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The scale factor of the <a href="#//api/name/node">node</a>. 1.0 is the default scale factor. It modifies the X and Y scale at the same time.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float scale</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scaleInPoints" title="scaleInPoints"></a>
	<h3 class="subsubtitle method-title">scaleInPoints</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The scaleInPoints is the <a href="#//api/name/scale">scale</a> factor of the <a href="#//api/name/node">node</a> in both X and Y, measured in points. The <a href="#//api/name/scaleType">scaleType</a> indicates if the scaleInPoints will be scaled byt the UIScaleFactor or not. See &ldquo;Coordinate System and Positioning&rdquo; for more information.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) float scaleInPoints</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scaleType" title="scaleType"></a>
	<h3 class="subsubtitle method-title">scaleType</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The scaleType defines scale behavior for this node. CCScaleTypeScaled indicates that the node will be scaled by <a href="../Classes/CCDirector.html#//api/name/sharedDirector">[CCDirector sharedDirector]</a>.UIScaleFactor. This property is analagous to <a href="#//api/name/positionType">positionType</a>. ScaleType affects the <a href="#//api/name/scaleInPoints">scaleInPoints</a> of a CCNode. See &ldquo;Coordinate System and Positioning&rdquo; for more information.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) CCScaleType scaleType</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scaleX" title="scaleX"></a>
	<h3 class="subsubtitle method-title">scaleX</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/scale">scale</a> factor of the <a href="#//api/name/node">node</a>. 1.0 is the default <a href="#//api/name/scale">scale</a> factor. It only modifies the X <a href="#//api/name/scale">scale</a> factor.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float scaleX</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scaleXInPoints" title="scaleXInPoints"></a>
	<h3 class="subsubtitle method-title">scaleXInPoints</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/scaleInPoints">scaleInPoints</a> is the <a href="#//api/name/scale">scale</a> factor of the <a href="#//api/name/node">node</a> in X, measured in points.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) float scaleXInPoints</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scaleY" title="scaleY"></a>
	<h3 class="subsubtitle method-title">scaleY</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/scale">scale</a> factor of the <a href="#//api/name/node">node</a>. 1.0 is the default <a href="#//api/name/scale">scale</a> factor. It only modifies the Y <a href="#//api/name/scale">scale</a> factor.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float scaleY</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scaleYInPoints" title="scaleYInPoints"></a>
	<h3 class="subsubtitle method-title">scaleYInPoints</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The <a href="#//api/name/scaleInPoints">scaleInPoints</a> is the <a href="#//api/name/scale">scale</a> factor of the <a href="#//api/name/node">node</a> in Y, measured in points.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) float scaleYInPoints</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scene" title="scene"></a>
	<h3 class="subsubtitle method-title">scene</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The scene this <a href="#//api/name/node">node</a> is added to, or nil if it&rsquo;s not part of a scene.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) CCScene *scene</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/skewX" title="skewX"></a>
	<h3 class="subsubtitle method-title">skewX</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The X skew angle of the <a href="#//api/name/node">node</a> in degrees.
This angle describes the shear distortion in the X direction.
Thus, it is the angle between the Y axis and the left edge of the shape
The default skewX angle is 0. Positive values distort the <a href="#//api/name/node">node</a> in a CW direction.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float skewX</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/skewY" title="skewY"></a>
	<h3 class="subsubtitle method-title">skewY</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The Y skew angle of the <a href="#//api/name/node">node</a> in degrees.
This angle describes the shear distortion in the Y direction.
Thus, it is the angle between the X axis and the bottom edge of the shape
The default skewY angle is 0. Positive values distort the <a href="#//api/name/node">node</a> in a CCW direction.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) float skewY</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/userObject" title="userObject"></a>
	<h3 class="subsubtitle method-title">userObject</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Similar to userData, but instead of holding a void* it holds an id.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, strong) id userObject</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/visible" title="visible"></a>
	<h3 class="subsubtitle method-title">visible</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Whether of not the <a href="#//api/name/node">node</a> is visible. Default is YES.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readwrite, assign) BOOL visible</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/zOrder" title="zOrder"></a>
	<h3 class="subsubtitle method-title">zOrder</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>The z order of the <a href="#//api/name/node">node</a> relative to its &ldquo;siblings&rdquo;: <a href="#//api/name/children">children</a> of the same <a href="#//api/name/parent">parent</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) NSInteger zOrder</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					<div class="section section-methods">
						<a title="Class Methods" name="class_methods"></a>
						<h2 class="subtitle subtitle-methods">Class Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/node" title="node"></a>
	<h3 class="subsubtitle method-title">node</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Allocates and initializes a node. The node will be created as &ldquo;autorelease&rdquo;.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>+ (id)node</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					<div class="section section-methods">
						<a title="Instance Methods" name="instance_methods"></a>
						<h2 class="subtitle subtitle-methods">Instance Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/addChild:" title="addChild:"></a>
	<h3 class="subsubtitle method-title">addChild:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Adds a child to the container with z-order as 0.
If the child is added to a &lsquo;running&rsquo; <a href="#//api/name/node">node</a>, then &lsquo;onEnter&rsquo; and &lsquo;onEnterTransitionDidFinish&rsquo; will be called immediately.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)addChild:(CCNode *)<em>node</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>node</em></dt>
			<dd><p>CCNode to add as a child.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/addChild:z:" title="addChild:z:"></a>
	<h3 class="subsubtitle method-title">addChild:z:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Adds a child to the container with a z-order.
If the child is added to a &lsquo;running&rsquo; <a href="#//api/name/node">node</a>, then &lsquo;onEnter&rsquo; and &lsquo;onEnterTransitionDidFinish&rsquo; will be called immediately.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)addChild:(CCNode *)<em>node</em> z:(NSInteger)<em>z</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>node</em></dt>
			<dd><p>CCNode to add as a child.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>z</em></dt>
			<dd><p>Z depth of <a href="#//api/name/node">node</a>.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/addChild:z:name:" title="addChild:z:name:"></a>
	<h3 class="subsubtitle method-title">addChild:z:name:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Adds a child to the container with z order and tag.
If the child is added to a &lsquo;running&rsquo; <a href="#//api/name/node">node</a>, then &lsquo;onEnter&rsquo; and &lsquo;onEnterTransitionDidFinish&rsquo; will be called immediately.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)addChild:(CCNode *)<em>node</em> z:(NSInteger)<em>z</em> name:(NSString *)<em>name</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>node</em></dt>
			<dd><p>CCNode to add as a child.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>z</em></dt>
			<dd><p>Z depth of <a href="#//api/name/node">node</a>.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>name</em></dt>
			<dd><p><a href="#//api/name/name">name</a> tag.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/boundingBox" title="boundingBox"></a>
	<h3 class="subsubtitle method-title">boundingBox</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns a &ldquo;local&rdquo; axis aligned bounding box of the <a href="#//api/name/node">node</a> in points.
The returned box is relative only to its <a href="#//api/name/parent">parent</a>.
The returned box is in Points.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGRect)boundingBox</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertToNodeSpace:" title="convertToNodeSpace:"></a>
	<h3 class="subsubtitle method-title">convertToNodeSpace:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Converts a Point to <a href="#//api/name/node">node</a> (local) space coordinates. The result is in Points.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGPoint)convertToNodeSpace:(CGPoint)<em>worldPoint</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>worldPoint</em></dt>
			<dd><p>World <a href="#//api/name/position">position</a> in points.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>Local <a href="#//api/name/position">position</a> in points.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertToNodeSpaceAR:" title="convertToNodeSpaceAR:"></a>
	<h3 class="subsubtitle method-title">convertToNodeSpaceAR:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Converts a Point to <a href="#//api/name/node">node</a> (local) space coordinates. The result is in Points.
Treats the returned/received <a href="#//api/name/node">node</a> point as anchor relative.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGPoint)convertToNodeSpaceAR:(CGPoint)<em>worldPoint</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>worldPoint</em></dt>
			<dd><p>World <a href="#//api/name/position">position</a> in points.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>Local <a href="#//api/name/position">position</a> in points.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertToWorldSpace:" title="convertToWorldSpace:"></a>
	<h3 class="subsubtitle method-title">convertToWorldSpace:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Converts a Point to world space coordinates. The result is in Points.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGPoint)convertToWorldSpace:(CGPoint)<em>nodePoint</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>nodePoint</em></dt>
			<dd><p>Local <a href="#//api/name/position">position</a> in points.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>World <a href="#//api/name/position">position</a> in points.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/convertToWorldSpaceAR:" title="convertToWorldSpaceAR:"></a>
	<h3 class="subsubtitle method-title">convertToWorldSpaceAR:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Converts a local Point to world space coordinates.The result is in Points.
Treats the returned/received <a href="#//api/name/node">node</a> point as anchor relative.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGPoint)convertToWorldSpaceAR:(CGPoint)<em>nodePoint</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>nodePoint</em></dt>
			<dd><p>Local <a href="#//api/name/position">position</a> in points.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>World <a href="#//api/name/position">position</a> in points.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/doesOpacityModifyRGB" title="doesOpacityModifyRGB"></a>
	<h3 class="subsubtitle method-title">doesOpacityModifyRGB</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns whether or not the <a href="#//api/name/opacity">opacity</a> will be applied using glColor(R,G,B,<a href="#//api/name/opacity">opacity</a>) or glColor(<a href="#//api/name/opacity">opacity</a>, <a href="#//api/name/opacity">opacity</a>, <a href="#//api/name/opacity">opacity</a>, <a href="#//api/name/opacity">opacity</a>).</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (BOOL)doesOpacityModifyRGB</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/draw:transform:" title="draw:transform:"></a>
	<h3 class="subsubtitle method-title">draw:transform:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Override this method to draw your own node.
You should use cocos2d&rsquo;s GL API to enable/disable the GL state / shaders.
For further info, please see ccGLstate.h.
You shall NOT call [super draw];</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)draw:(CCRenderer *)<em>renderer</em> transform:(const GLKMatrix4 *)<em>transform</em></code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getActionByTag:" title="getActionByTag:"></a>
	<h3 class="subsubtitle method-title">getActionByTag:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Gets an action from the running action list given its tag.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCAction *)getActionByTag:(NSInteger)<em>tag</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>tag</em></dt>
			<dd><p>Tag to retrieve.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>the Action the with the given tag.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getChildByName:recursively:" title="getChildByName:recursively:"></a>
	<h3 class="subsubtitle method-title">getChildByName:recursively:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Search through the <a href="#//api/name/children">children</a> of the container for one matching the <a href="#//api/name/name">name</a> tag.
If recursive, it returns the first matching <a href="#//api/name/node">node</a>, via a depth first search.
Otherwise, only immediate <a href="#//api/name/children">children</a> are checked.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCNode *)getChildByName:(NSString *)<em>name</em> recursively:(bool)<em>isRecursive</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>name</em></dt>
			<dd><p>Name tag.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>isRecursive</em></dt>
			<dd><p>Search recursively through <a href="#//api/name/children">children</a> of <a href="#//api/name/children">children</a>.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>Returns a CCNode, or nil if no marching nodes are found.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/init" title="init"></a>
	<h3 class="subsubtitle method-title">init</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Initializes the <a href="#//api/name/node">node</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (id)init</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/nodeToParentTransform" title="nodeToParentTransform"></a>
	<h3 class="subsubtitle method-title">nodeToParentTransform</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the matrix that transform the node&rsquo;s (local) space coordinates into the parent&rsquo;s space coordinates.
The matrix is in Pixels.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGAffineTransform)nodeToParentTransform</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/nodeToWorldTransform" title="nodeToWorldTransform"></a>
	<h3 class="subsubtitle method-title">nodeToWorldTransform</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the world affine transform matrix. The matrix is in Pixels.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGAffineTransform)nodeToWorldTransform</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/numberOfRunningActions" title="numberOfRunningActions"></a>
	<h3 class="subsubtitle method-title">numberOfRunningActions</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the numbers of actions that are running plus the ones that are schedule to run (actions in actionsToAdd and actions arrays).
Composable actions are counted as 1 action. Example:
If you are running 1 Sequence of 7 actions, it will return 1.
If you are running 7 Sequences of 2 actions, it will return 7.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (NSUInteger)numberOfRunningActions</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/onEnter" title="onEnter"></a>
	<h3 class="subsubtitle method-title">onEnter</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Event that is called every time the CCNode enters the &lsquo;stage&rsquo;.
If the CCNode enters the &lsquo;stage&rsquo; with a transition, this event is called when the transition starts.
During onEnter you can&rsquo;t access a sibling node.
If you override onEnter, you shall call [super onEnter].</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)onEnter</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/onEnterTransitionDidFinish" title="onEnterTransitionDidFinish"></a>
	<h3 class="subsubtitle method-title">onEnterTransitionDidFinish</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Event that is called when the CCNode enters in the &lsquo;stage&rsquo;.
If the CCNode enters the &lsquo;stage&rsquo; with a transition, this event is called when the transition finishes.
If you override onEnterTransitionDidFinish, you shall call [super onEnterTransitionDidFinish].</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)onEnterTransitionDidFinish</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/onExit" title="onExit"></a>
	<h3 class="subsubtitle method-title">onExit</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Event that is called every time the CCNode leaves the &lsquo;stage&rsquo;.
If the CCNode leaves the &lsquo;stage&rsquo; with a transition, this event is called when the transition finishes.
During onExit you can&rsquo;t access a sibling node.
If you override onExit, you shall call [super onExit].</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)onExit</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/onExitTransitionDidStart" title="onExitTransitionDidStart"></a>
	<h3 class="subsubtitle method-title">onExitTransitionDidStart</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Callback that is called every time the CCNode leaves the &lsquo;stage&rsquo;.
If the CCNode leaves the &lsquo;stage&rsquo; with a transition, this callback is called when the transition starts.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)onExitTransitionDidStart</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/parentToNodeTransform" title="parentToNodeTransform"></a>
	<h3 class="subsubtitle method-title">parentToNodeTransform</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the matrix that transform parent&rsquo;s space coordinates to the node&rsquo;s (local) space coordinates. The matrix is in Pixels.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGAffineTransform)parentToNodeTransform</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/physicsNode" title="physicsNode"></a>
	<h3 class="subsubtitle method-title">physicsNode</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Nearest <a href="../Classes/CCPhysicsNode.html">CCPhysicsNode</a> ancestor of this <a href="#//api/name/node">node</a>, or nil if none.
Unlike <a href="../Classes/CCPhysicsBody.html">CCPhysicsBody</a>.physicsNode, this will return a value before <a href="#//api/name/onEnter">onEnter</a> is called on the <a href="#//api/name/node">node</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCPhysicsNode *)physicsNode</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCPhysicsNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeAllChildren" title="removeAllChildren"></a>
	<h3 class="subsubtitle method-title">removeAllChildren</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes all <a href="#//api/name/children">children</a> from the container forcing a cleanup.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeAllChildren</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeAllChildrenWithCleanup:" title="removeAllChildrenWithCleanup:"></a>
	<h3 class="subsubtitle method-title">removeAllChildrenWithCleanup:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes all <a href="#//api/name/children">children</a> from the container and do a cleanup all running actions depending on the cleanup parameter.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeAllChildrenWithCleanup:(BOOL)<em>cleanup</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>cleanup</em></dt>
			<dd><p>Stops all scheduled events and actions.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeChild:" title="removeChild:"></a>
	<h3 class="subsubtitle method-title">removeChild:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes a child from the container forcing a cleanup. This method checks to ensure the parameter <a href="#//api/name/node">node</a> is actually a child of this <a href="#//api/name/node">node</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeChild:(CCNode *)<em>child</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>child</em></dt>
			<dd><p>The child <a href="#//api/name/node">node</a> to remove.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeChild:cleanup:" title="removeChild:cleanup:"></a>
	<h3 class="subsubtitle method-title">removeChild:cleanup:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes a child from the container. It will also cleanup all running and scheduled actions depending on the cleanup parameter.
This method checks to ensure the parameter <a href="#//api/name/node">node</a> is actually a child of this <a href="#//api/name/node">node</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeChild:(CCNode *)<em>node</em> cleanup:(BOOL)<em>cleanup</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>node</em></dt>
			<dd><p>The child <a href="#//api/name/node">node</a> to remove.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>cleanup</em></dt>
			<dd><p>Stops all scheduled events and actions.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeChildByName:" title="removeChildByName:"></a>
	<h3 class="subsubtitle method-title">removeChildByName:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes a child from the container by <a href="#//api/name/name">name</a> value forcing a cleanup.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeChildByName:(NSString *)<em>name</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>name</em></dt>
			<dd><p>Name of <a href="#//api/name/node">node</a> to be removed.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeChildByName:cleanup:" title="removeChildByName:cleanup:"></a>
	<h3 class="subsubtitle method-title">removeChildByName:cleanup:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes a child from the container by <a href="#//api/name/name">name</a> value. It will also cleanup all running actions depending on the cleanup parameter</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeChildByName:(NSString *)<em>name</em> cleanup:(BOOL)<em>cleanup</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>name</em></dt>
			<dd><p>Name of <a href="#//api/name/node">node</a> to be removed.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>cleanup</em></dt>
			<dd><p>Stops all scheduled events and actions.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeFromParent" title="removeFromParent"></a>
	<h3 class="subsubtitle method-title">removeFromParent</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Remove itself from its <a href="#//api/name/parent">parent</a> <a href="#//api/name/node">node</a> forcing a cleanup.
If the <a href="#//api/name/node">node</a> orphan, then nothing happens.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeFromParent</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/removeFromParentAndCleanup:" title="removeFromParentAndCleanup:"></a>
	<h3 class="subsubtitle method-title">removeFromParentAndCleanup:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Remove itself from its <a href="#//api/name/parent">parent</a> <a href="#//api/name/node">node</a>. If cleanup is YES, then also remove all actions and callbacks.
If the <a href="#//api/name/node">node</a> orphan, then nothing happens.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)removeFromParentAndCleanup:(BOOL)<em>cleanup</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>cleanup</em></dt>
			<dd><p>Stops all scheduled events and actions.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/runAction:" title="runAction:"></a>
	<h3 class="subsubtitle method-title">runAction:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Executes an action, and returns the action that is executed.
The <a href="#//api/name/node">node</a> becomes the action&rsquo;s target.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCAction *)runAction:(CCAction *)<em>action</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>action</em></dt>
			<dd><p>Action to run.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>An Action pointer</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/schedule:interval:" title="schedule:interval:"></a>
	<h3 class="subsubtitle method-title">schedule:interval:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Schedules a custom selector with an interval time in seconds.
If time is 0 it will be ticked every frame. In that case, it is recommended to override update: in stead.
If the selector is already scheduled, then the interval parameter will be updated without scheduling it again.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCTimer *)schedule:(SEL)<em>s</em> interval:(CCTime)<em>seconds</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>s</em></dt>
			<dd><p>Selector to execute.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>seconds</em></dt>
			<dd><p>Interval between execution in seconds.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>A newly initialized CCTimer object.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/schedule:interval:repeat:delay:" title="schedule:interval:repeat:delay:"></a>
	<h3 class="subsubtitle method-title">schedule:interval:repeat:delay:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Schedules a custom selector with an interval time in seconds.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCTimer *)schedule:(SEL)<em>selector</em> interval:(CCTime)<em>interval</em> repeat:(NSUInteger)<em>repeat</em> delay:(CCTime)<em>delay</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>selector</em></dt>
			<dd><p>Selector to execute.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>interval</em></dt>
			<dd><p>Interval between execution in seconds.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>repeat</em></dt>
			<dd><p>Number of times to repeat.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>delay</em></dt>
			<dd><p>Initial delay in seconds.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>A newly initialized CCTimer object.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scheduleBlock:delay:" title="scheduleBlock:delay:"></a>
	<h3 class="subsubtitle method-title">scheduleBlock:delay:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Schedules a block to run once, after a certain delay.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCTimer *)scheduleBlock:(CCTimerBlock)<em>block</em> delay:(CCTime)<em>delay</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>block</em></dt>
			<dd><p>Block to execute.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>delay</em></dt>
			<dd><p>Delay in seconds.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>A newly initialized CCTimer object.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/scheduleOnce:delay:" title="scheduleOnce:delay:"></a>
	<h3 class="subsubtitle method-title">scheduleOnce:delay:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Schedules a selector that runs only once, with a delay of 0 or larger.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CCTimer *)scheduleOnce:(SEL)<em>selector</em> delay:(CCTime)<em>delay</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>selector</em></dt>
			<dd><p>Selector to execute.</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>delay</em></dt>
			<dd><p>Initial delay in seconds.</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>A newly initialized CCTimer object.</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setOpacityModifyRGB:" title="setOpacityModifyRGB:"></a>
	<h3 class="subsubtitle method-title">setOpacityModifyRGB:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Sets the premultipliedAlphaOpacity property.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)setOpacityModifyRGB:(BOOL)<em>boolean</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>boolean</em></dt>
			<dd><p>Enables or disables setting of <a href="#//api/name/opacity">opacity</a> with <a href="#//api/name/color">color</a>.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>If set to NO then <a href="#//api/name/opacity">opacity</a> will be applied as: glColor(R,G,B,<a href="#//api/name/opacity">opacity</a>);</p>

<p>If set to YES then <a href="#//api/name/opacity">opacity</a> will be applied as: glColor(<a href="#//api/name/opacity">opacity</a>, <a href="#//api/name/opacity">opacity</a>, <a href="#//api/name/opacity">opacity</a>, <a href="#//api/name/opacity">opacity</a> );</p>

<p>Textures with premultiplied alpha will have this property by default on YES. Otherwise the default value is NO.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/stopAction:" title="stopAction:"></a>
	<h3 class="subsubtitle method-title">stopAction:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes an action from the running action list.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)stopAction:(CCAction *)<em>action</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>action</em></dt>
			<dd><p>Action to remove.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/stopActionByTag:" title="stopActionByTag:"></a>
	<h3 class="subsubtitle method-title">stopActionByTag:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes an action from the running action list given its tag.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)stopActionByTag:(NSInteger)<em>tag</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>tag</em></dt>
			<dd><p>Tag to remove.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/stopAllActions" title="stopAllActions"></a>
	<h3 class="subsubtitle method-title">stopAllActions</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Removes all actions from the running action list</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)stopAllActions</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/transform:" title="transform:"></a>
	<h3 class="subsubtitle method-title">transform:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the 4x4 drawing transformation for this <a href="#//api/name/node">node</a>. Really only useful when overriding <a href="#//api/name/visit:parentTransform:">visit:parentTransform:</a></p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (GLKMatrix4)transform:(const GLKMatrix4 *)<em>parentTransform</em></code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/unschedule:" title="unschedule:"></a>
	<h3 class="subsubtitle method-title">unschedule:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Unschedule a scheduled selector.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)unschedule:(SEL)<em>selector</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>selector</em></dt>
			<dd><p>Selector to unschedule.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/unscheduleAllSelectors" title="unscheduleAllSelectors"></a>
	<h3 class="subsubtitle method-title">unscheduleAllSelectors</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Unschedule all scheduled selectors.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)unscheduleAllSelectors</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/updateDisplayedColor:" title="updateDisplayedColor:"></a>
	<h3 class="subsubtitle method-title">updateDisplayedColor:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Recursive method that updates display <a href="#//api/name/color">color</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)updateDisplayedColor:(ccColor4F)<em>color</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>color</em></dt>
			<dd><p>Color used for update.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/updateDisplayedOpacity:" title="updateDisplayedOpacity:"></a>
	<h3 class="subsubtitle method-title">updateDisplayedOpacity:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Recursive method that updates the displayed <a href="#//api/name/opacity">opacity</a>.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)updateDisplayedOpacity:(CGFloat)<em>opacity</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>opacity</em></dt>
			<dd><p>Opacity to use for update.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/viewDidResizeTo:" title="viewDidResizeTo:"></a>
	<h3 class="subsubtitle method-title">viewDidResizeTo:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Invoked automatically when the OS view has been resized.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)viewDidResizeTo:(CGSize)<em>newViewSize</em></code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>This implementation simply propagates the same method to the <a href="#//api/name/children">children</a>.
Subclasses may override to actually do something when the view resizes.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/visit" title="visit"></a>
	<h3 class="subsubtitle method-title">visit</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Calls visit:parentTransform using the current renderer and projection.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)visit</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/visit:parentTransform:" title="visit:parentTransform:"></a>
	<h3 class="subsubtitle method-title">visit:parentTransform:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Recursive method that <a href="#//api/name/visit">visit</a> its <a href="#//api/name/children">children</a> and draw them.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)visit:(CCRenderer *)<em>renderer</em> parentTransform:(const GLKMatrix4 *)<em>parentTransform</em></code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/walkSceneGraph:" title="walkSceneGraph:"></a>
	<h3 class="subsubtitle method-title">walkSceneGraph:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Prints on the debug console the <a href="#//api/name/scene">scene</a> graph</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)walkSceneGraph:(NSUInteger)<em>level</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>level</em></dt>
			<dd><p>Level of debug information.</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode+Debug.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/worldToNodeTransform" title="worldToNodeTransform"></a>
	<h3 class="subsubtitle method-title">worldToNodeTransform</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Returns the inverse world affine transform matrix. The matrix is in Pixels.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (CGAffineTransform)worldToNodeTransform</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">CCNode.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
                    
                    
				</div>
				<div class="main-navigation navigation-bottom">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2014 3.2.0. All rights reserved. (Last updated: 2014-08-12)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 963)</a>.</span></p>
						
					</div>
				</div>
			</div>
		</article>
		<script type="text/javascript">
			function jumpToChange()
			{
				window.location.hash = this.options[this.selectedIndex].value;
			}
			
			function toggleTOC()
			{
				var contents = document.getElementById('contents');
				var tocContainer = document.getElementById('tocContainer');
				
				if (this.getAttribute('class') == 'open')
				{
					this.setAttribute('class', '');
					contents.setAttribute('class', '');
					tocContainer.setAttribute('class', '');
					
					window.name = "hideTOC";
				}
				else
				{
					this.setAttribute('class', 'open');
					contents.setAttribute('class', 'isShowingTOC');
					tocContainer.setAttribute('class', 'isShowingTOC');
					
					window.name = "";
				}
				return false;
			}
			
			function toggleTOCEntryChildren(e)
			{
				e.stopPropagation();
				var currentClass = this.getAttribute('class');
				if (currentClass == 'children') {
					this.setAttribute('class', 'children open');
				}
				else if (currentClass == 'children open') {
					this.setAttribute('class', 'children');
				}
				return false;
			}
			
			function tocEntryClick(e)
			{
				e.stopPropagation();
				return true;
			}
			
			function init()
			{
				var selectElement = document.getElementById('jumpTo');
				selectElement.addEventListener('change', jumpToChange, false);
				
				var tocButton = document.getElementById('table_of_contents');
				tocButton.addEventListener('click', toggleTOC, false);
				
				var taskTreeItem = document.getElementById('task_treeitem');
				if (taskTreeItem.getElementsByTagName('li').length > 0)
				{
					taskTreeItem.setAttribute('class', 'children');
					taskTreeItem.firstChild.setAttribute('class', 'disclosure');
				}
				
				var tocList = document.getElementById('toc');
				
				var tocEntries = tocList.getElementsByTagName('li');
				for (var i = 0; i < tocEntries.length; i++) {
					tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
				}
				
				var tocLinks = tocList.getElementsByTagName('a');
				for (var i = 0; i < tocLinks.length; i++) {
					tocLinks[i].addEventListener('click', tocEntryClick, false);
				}
				
				if (window.name == "hideTOC") {
					toggleTOC.call(tocButton);
				}
			}
			
			window.onload = init;
			
			// If showing in Xcode, hide the TOC and Header
			if (navigator.userAgent.match(/xcode/i)) {
				document.getElementById("contents").className = "hideInXcode"
				document.getElementById("tocContainer").className = "hideInXcode"
				document.getElementById("top_header").className = "hideInXcode"
			}
			
		</script>
	</body>
</html>